package com.atguigu.ioc.controller;

import com.atguigu.ioc.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

/**
 * Date:2020/9/24
 * Author:ybc
 * Description:
 */
@Controller
public class TestController {

    @Autowired
    @Qualifier("testServiceImpl")
    private TestService testService;

    public void addUser(){
        testService.addUser();
    }

}
